package model

import (
	"gorm.io/gorm"
	"time"
)

type Order struct {
	gorm.Model
	ShopId int `gorm:"type:int(11);comment:商品ID"`
	UserId int `gorm:"type:int(11);comment:用户ID"`
	Year   time.Time
	Status string `gorm:"type:varchar(30);comment:订单状态"`
}
type OrderStatus struct {
	gorm.Model
	OrderId   int    `gorm:"type:int(11);comment:订单ID"`
	UserToken string `gorm:"type:varchar(700);comment:用户token"`
}
